<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-md-12">
        <ol class="breadcrumb">
            <li><a>主页</a></li>
            <li><a>信用卡还款</a></li>
            <li class="active"><strong>还款异常订单查询</strong></li>
        </ol>
    </div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-app ng-controller="abnormalCreditRepayOrderCtrl">
    <form class="form-horizontal" id="form1">
        <div class="row">
            <div class="col-lg-12">
                <div class="">
                    <div class="ibox float-e-margins">
                        <div class="ibox-content">
                            <div class="ibox-title">
                                <h5>还款异常订单查询</h5>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label">订单ID:</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" ng-model="info.batchNo">
                                </div>
                                <label class="col-sm-1 control-label">用户编号:</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" ng-model="info.merchantNo">
                                </div>
                                <label class="col-sm-1 control-label">手机号:</label>
                                <div class="col-sm-2">
                                    <input type="text" class="form-control" ng-model="info.mobileNo">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label">订单状态:</label>
                                <div class="col-sm-2">
                                    <select class="form-control" disabled ng-model="info.status" ng-options="x.value as x.text for x in statusSelectList">
                                    </select>
                                </div>
                                <label class="col-sm-1 control-label">任务金额:</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" ng-model="info.minRepayAmount" style="width:auto;display:inline-block;">
                                    ~
                                    <input type="text" class="form-control" ng-model="info.maxRepayAmount" style="width:auto;display:inline-block;">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label">保证金:</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" ng-model="info.minEnsureAmount" style="width:auto;display:inline-block;">
                                    ~
                                    <input type="text" class="form-control" ng-model="info.maxEnsureAmount" style="width:auto;display:inline-block;">
                                </div>
                                <label class="col-sm-1 control-label">服务费:</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" ng-model="info.minRepayFee" style="width:auto;display:inline-block;">
                                    ~
                                    <input type="text" class="form-control" ng-model="info.maxRepayFee" style="width:auto;display:inline-block;">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label">创建时间:</label>
                                <div class="col-sm-5">
                                    <input id="d5231" class="form-control" type="datetime" ng-model="info.createTimeBegin" onchange=""  style="width:auto;display:inline-block;"
                                           onFocus="var d5232=$dp.$('d5232');WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked:function(){d5232.focus();},maxDate:'#F{$dp.$D(\'d5232\')}'})"/>
                                    ~
                                    <input id="d5232" class="form-control" type="datetime"  ng-model="info.createTimeEnd" onchange=""  style="width:auto;display:inline-block;"
                                           onFocus="WdatePicker({skin:'whyGreen',dateFmt: 'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'d5231\')}'})"/>
                                </div>
                                <label class="col-sm-1 control-label">记账状态:</label>
                                <div class="col-sm-2">
                                    <select class="form-control" ng-model="info.billingStatus"  ng-options="x.value as x.text for x in billingStatusSelect">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label">交易通道：</label>
                                <div class="col-sm-2">
                                    <select class="form-control" ng-model="info.acqCode" ng-options="x.value as x.text+'('+x.value+')' for x in acqCodeSelect">
                                        <option value="" selected>全部</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-lg-12">
                                    <div class="col-sm-1"></div>
                                    <button class="btn btn-primary6 btn-mr20" type="button"
                                            id="btnSubmit" ng-click="query()">查询</button>
                                    <button class="btn btn-primary3 btn-mr20" type="button" ng-click="clear()"
                                            id="btnSubmit2">清空</button>
                                    <button class="btn btn-primary7 btn-mr20" type="button"
                                            ng-click="import()">导出</button>
                                    <button class="btn btn-primary11 btn-mr20" type="button" ng-click="batchExecute()">批量执行</button>
                                </div>
                            </div>

                        </div>
                    </div>

                    <div class="ibox float-e-margins">
                        <div class="ibox-content">
                            <div class="form-group">
                                <div class="col-sm-2 checkbox">还款总额:<span ng-bind="repayAmountAll | currency:''"></span>元</div>
                                <div class="col-sm-2 checkbox">保证金:<span ng-bind="ensureAmountAll | currency:''"></span>元</div>
                                <div class="col-sm-2 checkbox">服务费:<span ng-bind="repayFeeAll | currency:''"></span>元</div>
                                <div class="col-sm-2 checkbox">冻结金额:<span ng-bind="ensureAmountFreezingAll | currency:''"></span>元</div>
                            </div>
                            <div class="form-group">
                                <div ui-grid="gridOptions" ui-grid-pagination ui-grid-selection
                                	ui-grid-resize-columns ui-grid-pinning class="grid">
                                	<div ng-show="loadImg" class="timg"></div>
                                </div>
                            </div>
                        </div>

                    </div>

                </div>
            </div>
        </div>
    </form>

</div>